package com.zhang.mapper;

import com.zhang.entity.dto.MyAuthorityRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * User: 张
 * Date: 2024-11-06
 * Time: 20:40
 * Description:
 */
@Mapper
public interface AuthorityRecordMapper {
    public int removeModelList(@Param("userId") Integer userId,
                               @Param("removeModelId") List<Integer> removeModelId);
    public int addModelList(@Param("userId") Integer userId,
                            @Param("addModelId") Integer addModelId);

    public List<MyAuthorityRecord> getMyAuthorityRecord(@Param("userId") Integer userId);
}
